`timescale 1ns/100ps
module itcm 
(
    input   wire            clk,
	input   wire    [63:0]  pc,
	output  reg     [31:0]  instr
);
	parameter filename = "firmware/hex.txt";
	wire	[12:00]	 	address = pc[14:02];
	(* RAM_STYLE="BLOCK" *)
    reg		[31:00]		BRAM[8095:0];


    initial begin
		$readmemh(filename,BRAM);
    end
    always@(posedge clk)begin
        instr <= BRAM[address];

    end  
endmodule





